home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of www.BestZips.com (Collector's Edition)
/
Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO
/
grapprog
/
splt252.zip
/
TESTS
/
T8-7.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-07-21
|
2KB
|
48 lines
10 open "t8-7.plt" for output as 1
20 print #1,"insp1ip1250,750,9250,6250"
30 print #1,"sc1,12,0,150"
40 print #1,"pu1,0pd12,0,12,150,1,150,1,0pu"
50 print #1,"si.2,.3tl1.5,0"
60 for x=1 to 12
70 print #1,"pa";x;",0;xt;"
80 read a$
90 print #1, "cp-.33,-1;lb"+a$+chr$(3)
100 next x
110 print #1,"pa6.5,0cp-7,-2.5;"
120 print #1,"lbCalendar Month"+chr$(3)
130 for y=0 to 150 step 25
140 print #1,"pa1,";y;";yt;"
150 if y<100 then print #1,"cp-3,-.25"
160 if y>99 then print #1,"cp-4,-.25"
170 print #1,"lb";y;chr$(3)
180 next y
190 print #1,"pa1,150;cp-3.5,2"
200 print #1,"lbSales $"+chr$(3)+"cp-9,-1;"
210 print #1,"lb(Thousands)"+chr$(3)
220 print #1,"sp2pa6,150si.4,.6cp-9.5,2"
230 print #1,"lb1985 Sales by Region"+chr$(3)
240 print #1,"sp6ltpa1,23pd2,25,3,18,4,22;"
250 print #1,"pd5,23,6,27,7,27,8,25,9,24,10,28;"
260 print #1,"pd11,27,12,27pu3.6,16;"
270 print #1,"si.2,.3lbSouth America"+chr$(3)
280 for i=1 to 3
290 print #1,"sp";i+2;";lt";i+2;";"
300 for x=1 to 12
310 read y
320 print #1,"pa";x;",";y;"pd;"
330 next x
340 if i=1 then print #1,"pu4,45;lbJapan"+chr$(3)
350 if i=2 then print #1,"pu2,64;lbEurope"+chr$(3)
360 if i=3 then print #1,"pu2,107;lbUnited States"+chr$(3)
370 next i
380 print #1,"sp0;"
390 system
500 data "J","F","M","A","M","J"
510 data "J","A","S","O","N","D"
520 data 45,50,52,53,52,51,55,56,56,58,58,60
530 data 55,60,63,62,59,54,50,46,47,49,53,58
540 data 98,100,102,105,107
550 data 110,125,112,115
560 data 125,130,122,0,0
570 end